import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import "@/packages/index.js";
import * as ElIcons from "@element-plus/icons-vue";

let app = createApp(App);

for (const name in ElIcons) {
  app.component(name, ElIcons[name]);
}

app.use(router).use(store).use(ElementPlus).mount("#app");

export default app;
